class CreateJobs < ActiveRecord::Migration
  def self.up
    create_table :jobs do |t|
      t.column :job_title, :string
      t.column :jid, :string
      t.column :description, :string
      t.column :sector_id, :integer
      t.column :location, :string
      t.column :salary, :float
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.column :benefits, :text
      t.column :visible, :boolean
    end
  end

  def self.down
    drop_table :jobs
  end
end